//
//  YJWMeViewController.m
//  百思不得骑姐
//
//  Created by YJW on 16/10/10.
//  Copyright © 2016年 yijiang. All rights reserved.
//

#import "YJWMeViewController.h"

@interface YJWMeViewController ()

@end

@implementation YJWMeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"我的";
    
    UIBarButtonItem *item1 = [UIBarButtonItem itemWithImg:@"mine-setting-icon" highlightedImg:@"mine-setting-icon-click" target:self action:@selector(meSettingClick)];
    UIBarButtonItem *item2 = [UIBarButtonItem itemWithImg:@"mine-moon-icon" highlightedImg:@"mine-moon-icon-click" target:self action:@selector(meMoonClick)];
    
    self.navigationItem.rightBarButtonItems = @[item1,item2];
    
    self.view.backgroundColor = YJWBgColor;
    YJWFUNC;
}

-(void)meSettingClick{
    YJWLog(@"%s",__func__);
}

-(void)meMoonClick{
    YJWLog(@"%s",__func__);
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    UIViewController *vc = [[UIViewController alloc] init];
    vc.view.backgroundColor = [UIColor blueColor];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
